<?php
if (!$_ENV['release']) {
	return array(
		'URL_MODEL' => 1, // 如果你的环境不支持PATHINFO 请设置为3
		'DB_TYPE' => 'mysql',
		'DB_HOST' => 'localhost',
		'DB_NAME' => 'db_wxcms',
		'DB_USER' => 'root',
		'DB_PWD' => '',
		'DB_PORT' => '3306',
		'DB_PREFIX' => 'cms_',


		//调试模式
		'APP_DEBUG' => false,

		//微信企业号配置
		'wx_token' => '43AgtO1JmqgMnfw8',		
		'wx_encodingaeskey' => 'Pncj3PQSS94O9mUk6MWiPHOOogTwA1nxhCUhfAQBvtU',
		'wx_appid' => 'wx6133add9ac001a88',
		'wx_appsecret' => 'cy0hdJ7X_ZjGZ4qbreYv2JkFWw6fo4ANQSQ8iGr0kdU-PuhmuWqQpL4QD3-ytY9D',


		//系统配置参数，无需修改
		'WEB_ROOT' => dirname(dirname(__FILE__)) . '/',
		'TPLVAR_PREFIX' => 'tplvar_', //模板变量前缀
		'ARTC_IMG_UPLOAD_DIR' => './Public/Uploads/', //文章图片上传路径
		'ARTC_IMG_DIR' => '/Public/Uploads/', //文章图片存放的路径，相对于根的路径
		'THUMB_W' => 150, //缩略图最大宽度
		'THUMB_H' => 200, //缩略图最大高度
		'TPL_PATH' => dirname(dirname(__FILE__)) . '/Public/Tpl/', //模板的存放路径
		'LI_IMG_DIR' => '/Public/li_imgs/',
		'WEB_CACHE_PATH' => dirname(dirname(__FILE__)) . '/Web/Runtime/Cache/', //前台模板缓粗的路径
	);
} else {
	return array(
		'URL_MODEL' => 1, // 如果你的环境不支持PATHINFO 请设置为3
		'DB_TYPE' => 'mysql',
		'DB_HOST' => '10.9.1.188',
		'DB_NAME' => 'cf_dc02ea43_1b4d_47df_98db_fccbaa6310c1',
		'DB_USER' => 'JBqlpOLaUh5ku3jB',
		'DB_PWD' => 'KBj4YJHXeZYP2OfZ',
		'DB_PORT' => '3306',
		'DB_PREFIX' => 'cms_',

		//微信企业号配置

		'APP_DEBUG' => false,

		//系统配置参数，无需修改
		'WEB_ROOT' => dirname(dirname(__FILE__)) . '/',
		'TPLVAR_PREFIX' => 'tplvar_', //模板变量前缀
		'ARTC_IMG_UPLOAD_DIR' => './Public/Uploads/', //文章图片上传路径
		'ARTC_IMG_DIR' => '/Public/Uploads/', //文章图片存放的路径，相对于根的路径
		'THUMB_W' => 150, //缩略图最大宽度
		'THUMB_H' => 200, //缩略图最大高度
		'TPL_PATH' => dirname(dirname(__FILE__)) . '/Public/Tpl/', //模板的存放路径
		'LI_IMG_DIR' => '/Public/li_imgs/',
		'WEB_CACHE_PATH' => dirname(dirname(__FILE__)) . '/Web/Runtime/Cache/', //前台模板缓粗的路径
	);
}
?>